<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<%@ page contentType="text/html; charset=utf-8"%>
	<%@ include file="/commons/taglibs.jsp"%>

	<head>
		<title>酒店配置</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />		
		<%@ include file="/commons/css_js_head.jsp"%>
		<script type="text/javascript">
//复写Url
doUpdateUrl = "${ctx }/permission/sysVarAction!doSaveOrEditHotelDeploy.ts";
doReturnUrl = "${ctx }/repast/CateringSaleManageAction!doList.ts";


//更新
function doUpdate() {
	var _form = document.forms[0];
	if (doUpdateUrl == '') {
		alert('请设置正确的URL!');
		return false;
	}

	_form.action = doUpdateUrl;
	parent.tb_remove();
}
</script>
	</head>
	<body style="overflow-x: hidden">

		<!--list -->
		<s:form action="/permission/sysVarAction" method="post" theme="simple">

			<div class="windowSize510" style="width:512px; height:290px;">

				  <div class="windowTitle">
				    <span class="window_close"><a href="javascript:void(null)" onclick="parent.tb_remove()" title="关闭" ><img src="../images/no.gif" /></a></span>
					<b>酒店配置</b>
				  </div>

				<!--list -->
			<div class="mainList">

				<table class="addTable">
					  <tr>
						<th width="12%">
								酒店名称：
							</th>
							<td width="38%">
								<s:textfield name="HotelName" theme="simple"
									cssStyle="width:130px"></s:textfield>
							</td>
					  </tr>
					  
					  <tr>
						<th width="12%">
								英文名称：
							</th>
							<td width="38%">
								<s:textfield name="HotelCode" theme="simple"
									cssStyle="width:130px"></s:textfield>
							</td>
					  </tr>
					  
					  <tr>
						<th width="12%">
								联系电话：
							</th>
							<td width="38%">
								<s:textfield name="HotelTel" theme="simple"
									cssStyle="width:130px"></s:textfield>
							</td>
					  </tr>
					  
					  <tr>
						<th width="12%">
								传&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;真：
							</th>
							<td width="38%">
								<s:textfield name="HotelFax" theme="simple"
									cssStyle="width:130px"></s:textfield>
							</td>
					  </tr>
					  
					  <tr>
						<th width="12%">
								地&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;址：
							</th>
							<td width="38%">
								<s:textfield name="HotelAddress" theme="simple"
									cssStyle="width:130px"></s:textfield>
							</td>
					  </tr>
					  
					  <tr>
						<th width="12%">
								邮政编码：
							</th>
							<td width="38%">
								<s:textfield name="HotelPost" theme="simple"
									cssStyle="width:130px"></s:textfield>
							</td>
					  </tr>
					</table>
				</div>
				
			<div class="windowBtn">
				<input class="btn" name="btn_confirm" type="submit" value="确定"
						onclick="doUpdate();" />
				<input class="btn" name="btn_return" type="button" value="取消"
						onclick="parent.tb_remove();" />
			</div>
			
			</div>

		</s:form>

<script type="text/javascript">
var pageMsg = '${requestScope.pageMsg}';
	if(pageMsg != null && pageMsg != ''){
		alert(pageMsg);
		parent.tb_remove();
	}
</script>
	</body>
</html>